package task9;

import java.util.Scanner;

public class Task3 {
    public static void main(String[] args) {
        System.out.println("请输入行数");
        Scanner scanner=new Scanner(System.in);
        int h=scanner.nextInt();
        int i,j;
        for( i=1;i<=h;i++){
            for(j=1;j<=i;j++){
                System.out.print("*");
            }
            System.out.println( );
        }
    }
}
